<template>
  <div class="favoritesView">
    <header>
      <div class="header-nav">
        <RouterLink to="followCookbook">菜谱</RouterLink>
      </div>
      <div class="header-nav">
        <RouterLink to="followNote">笔记</RouterLink>
      </div>
      <div class="header-nav">
        <RouterLink to="curriculum">课程</RouterLink>
      </div>
    </header>
    <RouterView />
  </div>
</template>

<script setup lang="ts"></script>

<style lang="scss" scoped>
.favoritesView {
  padding: 0 20px;

  header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    height: 50px;

    .header-nav {
      margin-right: 20px;

      a {
        color: #000;
        font-size: 16px;
      }

      .router-link-active {
        font-size: 20px;
        font-weight: bold;
      }
    }
  }
}
</style>
